package com.evideostb.project.sdk_dang_bei;

import android.content.Context;
import android.content.Intent;
import android.util.Log;

import com.dangbei.dangbeipaysdknew.DangBeiPayActivity;
import com.evideostb.project.paysdk.IPaySDK;

public class DangBeiSdkManager implements IPaySDK {
    private static final DangBeiSdkManager ourInstance = new DangBeiSdkManager();

    public static DangBeiSdkManager getInstance() {
        return ourInstance;
    }

    private DangBeiSdkManager() {
    }

    @Override
    public void init(Context context) {
        Log.w("DangBeiPaySDKManager","zyj init >>> 当贝");
    }

    @Override
    public void startPage(Context context) {
        Log.w("DangBeiPaySDKManager","zyj startPage >>> 当贝");
        Intent intent = new Intent(context, DangBeiPayActivity.class);
        context.startActivity(intent);
    }
}
